package com.learn.hibernatevalidator.chapter10;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * @author: liyf
 * @create: 2025-01-21 22:43
 **/
@Data
public class Book {

    @NotEmpty
    private String title;

    @NotEmpty
    private String author;
}
